package cn.tedu.tea.mapper;

import cn.tedu.tea.domain.UserAddress;
import cn.tedu.tea.domain.vo.UserAddressListVO;
import cn.tedu.tea.domain.vo.UserAddressStandardVO;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface UserAddressMapper {
    int insert(UserAddress userAddress);
    int deleteById(Integer id);
    int deleteByIds(Integer[] ids);
    int update(UserAddress userAddress);

    UserAddressStandardVO getStandardById(Integer id);
    List<UserAddressListVO> list();

}
